'use strict'
//引用Db
let { sequelize, defineModel, DataTypes } = require('../Db');

//定义模型
let Model = defineModel('users', {
    username: {
        type: DataTypes.STRING(80),
        allowNull: false
    },
    password: {
        type: DataTypes.STRING(80),
        allowNull: false
    }
});
//暴露出去
module.exports = Model;